<?php

class FlaggedSubject  extends AppModel{
    var $name='FlaggedSubject';
    var $belongsTo=array('User'=>array(
        'className'=>'User',
        'foreignKey'=>'user_id',
        'fields'=>'User.email,User.username'
        
        ),
        'Subject'=>array(
            'className'=>'Subject',
            'foreignKey'=>'subject_id'
            
        ));
}
?>
